﻿@using System.Data;
@{
    Layout = null;
    DataTable dt = ViewBag.dt;
    DataRow firstRow = dt.Rows[0];
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>TjPage</title>

    <style>
        table, td, th, div {
            border-collapse: collapse;
        }

        th, td {
            border: 1px solid gray;
            line-height: 25px;
        }

        .th {
            background-color: #0c97f2;
            border-right: 1px solid gray;
            text-align: center;
        }

        .td {
            text-align: left;
        }
    </style>
</head>
<body style="width: 100%">
    <div style="width: 900px; margin: auto;">
        <div style="background-color: #0c97f2; text-align: center; border: 1px solid gray; font-weight: 700; line-height: 25px;">活动数据统计</div>
        <table style="width: 100%" cellpadding="0" cellspacing="0">
            <tr>
                <td class="th">参与人数</td>
                <td class="td">@firstRow["zcyrs"]</td>
                <td class="th">分享朋友圈次数</td>
                <td class="td">@firstRow["fxdpyq"]</td>
                <td class="th">分享给朋友次数</td>
                <td class="td">@firstRow["fxgpy"]</td>
            </tr>

            <tr>
                <td class="th">获得辣条人数</td>
                <td class="td">@firstRow["getLaTiao"]</td>
                <td class="th">获取弹弓人数</td>
                <td class="td">@firstRow["getDanGOng"]</td>
                <td class="th">获取跳跳糖人数</td>
                <td class="td">@firstRow["getTiaoTiaoTang"]</td>
            </tr>


            <tr>
                <td class="th">获得大礼包人数：</td>
                <td class="td">@firstRow["getDaLibao"]</td>
                <td class="th">没中奖人数：</td>
                <td class="td">@firstRow["getNo"]</td>
                <td class="th">------</td>
                <td class="td">------</td>
            </tr>

            <tr>
                <td class="th">总共产生金钱：</td>
                <td class="td">@firstRow["TotalMoney"]</td>
                <td class="th">总共提取金钱：</td>
                <td class="td">@firstRow["TotalGetMoney"]</td>
                <td class="th">------</td>
                <td class="td">------</td>
            </tr>
        </table>
    </div>
</body>
</html>
